<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>ROSS: core/instrumentation/st-sim-engine.c Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <a href="https://github.com/ROSS-org/ROSS">
   <div id="projectname">ROSS
   </div>
   </a>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_af18cf245e3394ab3b436135935cfd6e.html">core</a></li><li class="navelem"><a class="el" href="dir_e8784b64d701200ce05334d46c95fd71.html">instrumentation</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">st-sim-engine.c</div>  </div>
</div><!--header-->
<div class="contents">
<a href="st-sim-engine_8c.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="ross_8h.html">ross.h</a>&gt;</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#include &lt;sys/stat.h&gt;</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"><a class="line" href="st-sim-engine_8c.html#aacbb9e1f38be71e22df1584a37c56693">    3</a></span>&#160;<span class="preprocessor">#define __STDC_FORMAT_MACROS 1</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="st-sim-engine_8c.html#a9c47719103f6c25564b88c1aae6681a9">    5</a></span>&#160;<span class="keywordtype">long</span> <a class="code" href="st-sim-engine_8c.html#a9c47719103f6c25564b88c1aae6681a9">g_st_current_interval</a> = 0;</div>
<div class="line"><a name="l00006"></a><span class="lineno"><a class="line" href="st-sim-engine_8c.html#abe357d1576930cdc1a98c488745f8114">    6</a></span>&#160;<span class="keyword">static</span> <a class="code" href="structtw__statistics.html">tw_statistics</a> <a class="code" href="st-sim-engine_8c.html#abe357d1576930cdc1a98c488745f8114">last_pe_stats</a>[3];</div>
<div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="st-sim-engine_8c.html#a6e22e9de45876a91021cd78a36526b4b">    7</a></span>&#160;<span class="keyword">static</span> <a class="code" href="ross-types_8h.html#a68910a3e880a16d5acbac8fc120229a2">tw_stat</a> <a class="code" href="st-sim-engine_8c.html#a6e22e9de45876a91021cd78a36526b4b">last_all_reduce_cnt</a> = 0;</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">/* wrapper to call gvt instrumentation functions depending on which granularity to use */</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="st-sim-engine_8c.html#aeec2327264c7e2fc4b1d01aff188fc7b">   10</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="st-sim-engine_8c.html#aeec2327264c7e2fc4b1d01aff188fc7b">st_collect_engine_data</a>(<a class="code" href="structtw__pe.html">tw_pe</a> *<a class="code" href="avl__tree_8c.html#ac4c639748d4d5a271d6c54a18f614605">pe</a>, <span class="keywordtype">int</span> col_type)</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;{</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;    <a class="code" href="aarch64_8h.html#abcd6b97b84bebf1f961f85cd24b56c60">tw_clock</a> start_time = <a class="code" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757">tw_clock_read</a>();</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;    <a class="code" href="structtw__kp.html">tw_kp</a> *kp;</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;    <a class="code" href="structtw__lp.html">tw_lp</a> *lp;</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i;</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;    <a class="code" href="structtw__statistics.html">tw_statistics</a> s;</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;    bzero(&amp;s, <span class="keyword">sizeof</span>(s));</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;    <a class="code" href="ross-extern_8h.html#a51b6f7e6bcb3a2d739fe932e95554aeb">tw_get_stats</a>(pe, &amp;s);</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;    <a class="code" href="structsample__metadata.html">sample_metadata</a> sample_md;</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;    sample_md.<a class="code" href="structsample__metadata.html#a90c09be4a087909c1f528f5ee56a9a14">ts</a> = pe-&gt;<a class="code" href="structtw__pe.html#a3f82dbbf2dbb0163b6078ff25cb75a1b">GVT</a>;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;    sample_md.<a class="code" href="structsample__metadata.html#aa363c163cb8f6cd5d44d836ae5d8f281">real_time</a> = (double)<a class="code" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757">tw_clock_read</a>() / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="st-instrumentation_8c.html#ac0fec55109412e73202eb3f7c7fb5200">g_st_pe_data</a>)</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;        <a class="code" href="st-sim-engine_8c.html#ae01976c1e08878010b9d085f2e196b03">st_collect_engine_data_pes</a>(pe, &amp;sample_md, &amp;s, col_type);</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="st-instrumentation_8c.html#a8e6727f21f64eab35711d48ef4526955">g_st_kp_data</a>)</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    {</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;        <span class="keywordflow">for</span> (i = 0; i &lt; <a class="code" href="ross-extern_8h.html#a4a237c68db5a0325e986d3710088d427">g_tw_nkp</a>; i++)</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;        {</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;            kp = <a class="code" href="ross-kernel-inline_8h.html#a4066dfaca8faa4af256a377d85cea32f">tw_getkp</a>(i);</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;            <a class="code" href="st-sim-engine_8c.html#aebb8dd16b2092d90989648f900bab71c">st_collect_engine_data_kps</a>(pe, kp, &amp;sample_md, col_type);</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;        }</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    }</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="st-instrumentation_8c.html#a205a10771cc5e3fe45d002eca571a3ff">g_st_lp_data</a>)</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    {</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;        <span class="keywordflow">for</span> (i = 0; i &lt; <a class="code" href="ross-extern_8h.html#ab8bd876929690758e922961bcc16cd64">g_tw_nlp</a>; i++)</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;        {</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;            lp = <a class="code" href="ross-kernel-inline_8h.html#a01d028965db8257815ad2ed053a0e40a">tw_getlp</a>(i);</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;            <a class="code" href="st-sim-engine_8c.html#a6d73057505cdbfef1d533509b61ea653">st_collect_engine_data_lps</a>(lp, &amp;sample_md, col_type);</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;        }</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    }</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#af5f39d1286d62c54c9cc14c8e5f16544">s_stat_comp</a> += <a class="code" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757">tw_clock_read</a>() - start_time;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;}</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="st-sim-engine_8c.html#ae01976c1e08878010b9d085f2e196b03">   45</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="st-sim-engine_8c.html#ae01976c1e08878010b9d085f2e196b03">st_collect_engine_data_pes</a>(<a class="code" href="structtw__pe.html">tw_pe</a> *<a class="code" href="avl__tree_8c.html#ac4c639748d4d5a271d6c54a18f614605">pe</a>, <a class="code" href="structsample__metadata.html">sample_metadata</a> *sample_md, <a class="code" href="structtw__statistics.html">tw_statistics</a> *s, <span class="keywordtype">int</span> col_type)</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;{</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <a class="code" href="structst__pe__stats.html">st_pe_stats</a> pe_stats;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <span class="keywordtype">int</span> buf_size = <span class="keyword">sizeof</span>(*sample_md) + <span class="keyword">sizeof</span>(pe_stats);</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    <span class="keywordtype">char</span> buffer[buf_size];</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <a class="code" href="ross-types_8h.html#a68910a3e880a16d5acbac8fc120229a2">tw_stat</a> <a class="code" href="mpi__allreduce_8c.html#a4fe19ab323f25724cbad33292dc0fd79">all_reduce_cnt</a> = <a class="code" href="mpi__allreduce_8c.html#ab5b7bed8b49012ab92a14632cba26847">st_get_allreduce_count</a>();</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="comment">// sample_md time stamps were set in the calling function</span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    sample_md-&gt;<a class="code" href="structsample__metadata.html#aaaed933f241f423db84d7c0cda83087c">flag</a> = <a class="code" href="st-instrumentation_8h.html#a1418b1c212e8b79f85697aa339baa0daaf46554b4daf67327ec840c4a73106acd">PE_TYPE</a>;</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    sample_md-&gt;<a class="code" href="structsample__metadata.html#ae6fab449367ff0bd98760c9229e0589a">sample_sz</a> = <span class="keyword">sizeof</span>(pe_stats);</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#ad2d44bfb05bd92e14f5deeadcf377777">peid</a> = (<span class="keywordtype">unsigned</span> int) <a class="code" href="ross-extern_8h.html#a83ae3f8b8b94935a1dbdfa2d2552f508">g_tw_mynode</a>;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#aa2a31b5b316a43bf43bd75a486e2443a">s_nevent_processed</a> = (<span class="keywordtype">unsigned</span> int)( s-&gt;<a class="code" href="structtw__statistics.html#a81aae87c2c31239b501b7461e93effa2">s_nevent_processed</a>-last_pe_stats[col_type].<a class="code" href="structtw__statistics.html#a81aae87c2c31239b501b7461e93effa2">s_nevent_processed</a>);</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#a5a5f001a72c8f12d7b033b54fa33a1b5">s_nevent_abort</a> = (<span class="keywordtype">unsigned</span> int)(s-&gt;<a class="code" href="structtw__statistics.html#a80ffd79aaf7873cac6407f2fe36d72e9">s_nevent_abort</a>-last_pe_stats[col_type].<a class="code" href="structtw__statistics.html#a80ffd79aaf7873cac6407f2fe36d72e9">s_nevent_abort</a>);</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#af35c628dcc988b123dda46ccae2c4db0">s_e_rbs</a> = (<span class="keywordtype">unsigned</span> int)(s-&gt;<a class="code" href="structtw__statistics.html#a97f53f996639cd3ddd6c975addd0e984">s_e_rbs</a>-last_pe_stats[col_type].<a class="code" href="structtw__statistics.html#a97f53f996639cd3ddd6c975addd0e984">s_e_rbs</a>);</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#a426892db618e8f92965fffd2f978a605">s_rb_total</a> = (<span class="keywordtype">unsigned</span> int)( s-&gt;<a class="code" href="structtw__statistics.html#ae1f695b710d56b9deb71d8c32f5ea433">s_rb_total</a>-last_pe_stats[col_type].<a class="code" href="structtw__statistics.html#ae1f695b710d56b9deb71d8c32f5ea433">s_rb_total</a>);</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#ab4caf9023a6962d21131aa369941b301">s_rb_secondary</a> = (<span class="keywordtype">unsigned</span> int)(s-&gt;<a class="code" href="structtw__statistics.html#ab569d8a20ab672eeb8ba0198154dd5ff">s_rb_secondary</a>-last_pe_stats[col_type].<a class="code" href="structtw__statistics.html#ab569d8a20ab672eeb8ba0198154dd5ff">s_rb_secondary</a>);</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#a5518c4edbc825f41a0cb438c7c482df3">s_fc_attempts</a> = (<span class="keywordtype">unsigned</span> int)(s-&gt;<a class="code" href="structtw__statistics.html#afbaa299bc177b669536d9fd2986d628f">s_fc_attempts</a>-last_pe_stats[col_type].<a class="code" href="structtw__statistics.html#afbaa299bc177b669536d9fd2986d628f">s_fc_attempts</a>);</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#ab2855747d06047e606e45f04d8f4c53e">s_pq_qsize</a> = <a class="code" href="splay_8c.html#addf3f3d612922ac6c07304ddb4895ab7">tw_pq_get_size</a>(pe-&gt;<a class="code" href="structtw__pe.html#a90e1dbe51a084d6e02580667159e13ff">pq</a>);</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#a92efc1eacb7413debe82ac2501ffe91d">s_nsend_network</a> = (<span class="keywordtype">unsigned</span> int)(s-&gt;<a class="code" href="structtw__statistics.html#a950bfd3cce9aeb0874095350d634e977">s_nsend_network</a>-last_pe_stats[col_type].<a class="code" href="structtw__statistics.html#a950bfd3cce9aeb0874095350d634e977">s_nsend_network</a>);</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#a77a837d65069064481d5cd101d8940d3">s_nread_network</a> = (<span class="keywordtype">unsigned</span> int)(s-&gt;<a class="code" href="structtw__statistics.html#a67369ce1343843fe5d0bb6f723ccb140">s_nread_network</a>-last_pe_stats[col_type].<a class="code" href="structtw__statistics.html#a67369ce1343843fe5d0bb6f723ccb140">s_nread_network</a>);</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#af5507809bce05a43dd894838fde491cd">s_pe_event_ties</a> = (<span class="keywordtype">unsigned</span> int)(s-&gt;<a class="code" href="structtw__statistics.html#a62e777ce390693fbe7b4fb88110c3c10">s_pe_event_ties</a>-last_pe_stats[col_type].<a class="code" href="structtw__statistics.html#a62e777ce390693fbe7b4fb88110c3c10">s_pe_event_ties</a>);</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#afff11ab93485182e993f0a34dcf72c7a">s_ngvts</a> = (<span class="keywordtype">unsigned</span> int)(<a class="code" href="ross-extern_8h.html#aad7609a89939a59a33ae1cd1f5601e7e">g_tw_gvt_done</a> - last_pe_stats[col_type].s_ngvts);</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#a18d1cfc7b9eac40b5f7477e4592ea83b">all_reduce_count</a> = (<span class="keywordtype">unsigned</span> int)(all_reduce_cnt-<a class="code" href="st-sim-engine_8c.html#a6e22e9de45876a91021cd78a36526b4b">last_all_reduce_cnt</a>);</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <span class="comment">// I think it&#39;s possible for net_events to be negative over some interval of simulation time</span></div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="comment">// e.g., if in the current interval we&#39;ve happened to process more rollback events than forward events</span></div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="comment">// for now, just report efficiency as 0 in this case?</span></div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="keywordtype">int</span> net_events = pe_stats.<a class="code" href="structst__pe__stats.html#aa2a31b5b316a43bf43bd75a486e2443a">s_nevent_processed</a> - pe_stats.<a class="code" href="structst__pe__stats.html#af35c628dcc988b123dda46ccae2c4db0">s_e_rbs</a>;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <span class="keywordflow">if</span> (net_events &gt; 0)</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;        pe_stats.<a class="code" href="structst__pe__stats.html#a7629b3de217d11c2fdb07dcd61f8ad06">efficiency</a> = (float) 100.0 * (1.0 - ((<span class="keywordtype">float</span>) pe_stats.<a class="code" href="structst__pe__stats.html#af35c628dcc988b123dda46ccae2c4db0">s_e_rbs</a> / (float) net_events));</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        pe_stats.<a class="code" href="structst__pe__stats.html#a7629b3de217d11c2fdb07dcd61f8ad06">efficiency</a> = 0;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <span class="comment">// TODO set a starting clock rate and subtract that from the counters?</span></div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <span class="comment">// because PEs on different nodes will probably have different starting points for cycle counters</span></div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#a3ace59d6dc8a9cbe0162fb873c453d79">s_net_read</a> = (float)(pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a1c60ba2fc1683cc9cff5da33497f13f0">s_net_read</a> - last_pe_stats[col_type].<a class="code" href="structtw__statistics.html#a1c60ba2fc1683cc9cff5da33497f13f0">s_net_read</a>) / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#ab143e87eae4f4a62c6388618c4851fa4">s_net_other</a> = (float)(pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#aad1a97ac3d3b2a0b5be6a77e576d08a4">s_net_other</a> - last_pe_stats[col_type].<a class="code" href="structtw__statistics.html#aad1a97ac3d3b2a0b5be6a77e576d08a4">s_net_other</a>) / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#aa3c8a478aeb3ca83b97d2276ff6fc02c">s_gvt</a> = (float)(pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a1fe13f0669aa85a80819965c67771b1c">s_gvt</a> - last_pe_stats[col_type].<a class="code" href="structtw__statistics.html#a1fe13f0669aa85a80819965c67771b1c">s_gvt</a>) / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>;</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#abaf70bbf6b4498452666b5559987062f">s_fossil_collect</a> = (float)(pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a395ff98d71b2e8aaddcf293fa135cd7b">s_fossil_collect</a> - last_pe_stats[col_type].<a class="code" href="structtw__statistics.html#a395ff98d71b2e8aaddcf293fa135cd7b">s_fossil_collect</a>) / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#ad1541cbf6581a3f3c09e1f0e07e04119">s_event_abort</a> = (float)(pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#abee413204afa47b508421b50b55cbbc4">s_event_abort</a> - last_pe_stats[col_type].<a class="code" href="structtw__statistics.html#abee413204afa47b508421b50b55cbbc4">s_event_abort</a>) / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>;</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#a26ba857086ba179b36d95038ba90744d">s_event_process</a> = (float)(pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#afb4f29bb6fd2359929db62d67b3f0c24">s_event_process</a> - last_pe_stats[col_type].<a class="code" href="structtw__statistics.html#afb4f29bb6fd2359929db62d67b3f0c24">s_event_process</a>) / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>;</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#ae82c19aea9dd259bdb5308b5a07ce06c">s_pq</a> = (float)(pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a63bdf31079607ac79020b3efb874dedd">s_pq</a> - last_pe_stats[col_type].<a class="code" href="structtw__statistics.html#a63bdf31079607ac79020b3efb874dedd">s_pq</a>) / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#aa8dfc89d4f04b45c7f37e22c3d110f64">s_rollback</a> = (float)(pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a94f3a9b746bc08e1bd11a971256bd98a">s_rollback</a> - last_pe_stats[col_type].<a class="code" href="structtw__statistics.html#a94f3a9b746bc08e1bd11a971256bd98a">s_rollback</a>) / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#a5ebc1b923455c163b32c1130c73377de">s_cancel_q</a> = (float)(pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a288053705e5e498d021498a1fe6a39e7">s_cancel_q</a> - last_pe_stats[col_type].<a class="code" href="structtw__statistics.html#a288053705e5e498d021498a1fe6a39e7">s_cancel_q</a>) / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#a8ed26a890acebe9131eb2e21f84e3c7b">s_avl</a> = (float)(pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a57f9136844021515905c3a6bc70eb921">s_avl</a> - last_pe_stats[col_type].<a class="code" href="structtw__statistics.html#a57f9136844021515905c3a6bc70eb921">s_avl</a>) / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#a5de5196bb3b8dcdafd86c5036e144924">s_buddy</a> = (float)(pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a11793b1e0f358ce83e0f0e7d858f14c5">s_buddy</a> - last_pe_stats[col_type].<a class="code" href="structtw__statistics.html#a11793b1e0f358ce83e0f0e7d858f14c5">s_buddy</a>) / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    pe_stats.<a class="code" href="structst__pe__stats.html#aa746af7aa8c1104fb28189e8a3ce8ba0">s_lz4</a> = (float)(pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a43c6da6365aebc030d939dc378daf154">s_lz4</a> - last_pe_stats[col_type].<a class="code" href="structtw__statistics.html#a43c6da6365aebc030d939dc378daf154">s_lz4</a>) / <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a>;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    memcpy(&amp;buffer[0], sample_md, <span class="keyword">sizeof</span>(*sample_md));</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    memcpy(&amp;buffer[<span class="keyword">sizeof</span>(*sample_md)], &amp;pe_stats, <span class="keyword">sizeof</span>(pe_stats));</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    <a class="code" href="st-instrumentation_8h.html#a726b5dd5323e5d253e35d7fff164e6a5">st_buffer_push</a>(col_type, &amp;buffer[0], buf_size);</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    memcpy(&amp;last_pe_stats[col_type], s, <span class="keyword">sizeof</span>(<a class="code" href="structtw__statistics.html">tw_statistics</a>));</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    <a class="code" href="st-sim-engine_8c.html#a6e22e9de45876a91021cd78a36526b4b">last_all_reduce_cnt</a> = <a class="code" href="mpi__allreduce_8c.html#a4fe19ab323f25724cbad33292dc0fd79">all_reduce_cnt</a>;</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;}</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="st-sim-engine_8c.html#aebb8dd16b2092d90989648f900bab71c">  102</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="st-sim-engine_8c.html#aebb8dd16b2092d90989648f900bab71c">st_collect_engine_data_kps</a>(<a class="code" href="structtw__pe.html">tw_pe</a> *<a class="code" href="avl__tree_8c.html#ac4c639748d4d5a271d6c54a18f614605">pe</a>, <a class="code" href="structtw__kp.html">tw_kp</a> *kp, <a class="code" href="structsample__metadata.html">sample_metadata</a> *sample_md, <span class="keywordtype">int</span> col_type)</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;{</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    <a class="code" href="structst__kp__stats.html">st_kp_stats</a> kp_stats;</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    <span class="keywordtype">int</span> buf_size = <span class="keyword">sizeof</span>(*sample_md) + <span class="keyword">sizeof</span>(kp_stats);</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    <span class="keywordtype">char</span> buffer[buf_size];</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <span class="keywordtype">int</span> index = 0;</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    <span class="comment">// sample_md time stamps were set in the calling function</span></div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    sample_md-&gt;<a class="code" href="structsample__metadata.html#aaaed933f241f423db84d7c0cda83087c">flag</a> = <a class="code" href="st-instrumentation_8h.html#a1418b1c212e8b79f85697aa339baa0daa0440b181fa47429be2a9456bff69d5f9">KP_TYPE</a>;</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    sample_md-&gt;<a class="code" href="structsample__metadata.html#ae6fab449367ff0bd98760c9229e0589a">sample_sz</a> = <span class="keyword">sizeof</span>(kp_stats);</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    kp_stats.<a class="code" href="structst__kp__stats.html#a41690a7fa7b920eb38ae6c2b33d0a944">peid</a> = (<span class="keywordtype">unsigned</span> int) <a class="code" href="ross-extern_8h.html#a83ae3f8b8b94935a1dbdfa2d2552f508">g_tw_mynode</a>;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    kp_stats.<a class="code" href="structst__kp__stats.html#a4c11a9e217843b4fe5f2081e21e8e07f">kpid</a> = kp-&gt;<a class="code" href="structtw__kp.html#afb056d26713ffb46913315b0d2f2651b">id</a>;</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    kp_stats.<a class="code" href="structst__kp__stats.html#a104d335ef8681a661735bbe760deca1b">s_nevent_processed</a> = (<span class="keywordtype">unsigned</span> int)(kp-&gt;<a class="code" href="structtw__kp.html#a05a49ec7f8f98c6d7d8ca15ae1f8abdb">kp_stats</a>-&gt;<a class="code" href="structst__kp__stats.html#a104d335ef8681a661735bbe760deca1b">s_nevent_processed</a> - kp-&gt;<a class="code" href="structtw__kp.html#a3da4f035f393ce94c4135f1c20252acf">last_stats</a>[col_type]-&gt;<a class="code" href="structst__kp__stats.html#a104d335ef8681a661735bbe760deca1b">s_nevent_processed</a>);</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    kp_stats.<a class="code" href="structst__kp__stats.html#aeb66f5ede13e4fdfe29428cb07ea627a">s_nevent_abort</a> = (<span class="keywordtype">unsigned</span> int)(kp-&gt;<a class="code" href="structtw__kp.html#a05a49ec7f8f98c6d7d8ca15ae1f8abdb">kp_stats</a>-&gt;<a class="code" href="structst__kp__stats.html#aeb66f5ede13e4fdfe29428cb07ea627a">s_nevent_abort</a> - kp-&gt;<a class="code" href="structtw__kp.html#a3da4f035f393ce94c4135f1c20252acf">last_stats</a>[col_type]-&gt;<a class="code" href="structst__kp__stats.html#aeb66f5ede13e4fdfe29428cb07ea627a">s_nevent_abort</a>);</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    kp_stats.<a class="code" href="structst__kp__stats.html#a9fdf23c646a0c0b89bf902fa08eba758">s_e_rbs</a> = (<span class="keywordtype">unsigned</span> int)(kp-&gt;<a class="code" href="structtw__kp.html#a05a49ec7f8f98c6d7d8ca15ae1f8abdb">kp_stats</a>-&gt;<a class="code" href="structst__kp__stats.html#a9fdf23c646a0c0b89bf902fa08eba758">s_e_rbs</a> - kp-&gt;<a class="code" href="structtw__kp.html#a3da4f035f393ce94c4135f1c20252acf">last_stats</a>[col_type]-&gt;<a class="code" href="structst__kp__stats.html#a9fdf23c646a0c0b89bf902fa08eba758">s_e_rbs</a>);</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    kp_stats.<a class="code" href="structst__kp__stats.html#ae2b4a980d36048635b285ae9741c5e50">s_rb_total</a> = (<span class="keywordtype">unsigned</span> int)(kp-&gt;<a class="code" href="structtw__kp.html#a05a49ec7f8f98c6d7d8ca15ae1f8abdb">kp_stats</a>-&gt;<a class="code" href="structst__kp__stats.html#ae2b4a980d36048635b285ae9741c5e50">s_rb_total</a> - kp-&gt;<a class="code" href="structtw__kp.html#a3da4f035f393ce94c4135f1c20252acf">last_stats</a>[col_type]-&gt;<a class="code" href="structst__kp__stats.html#ae2b4a980d36048635b285ae9741c5e50">s_rb_total</a>);</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    kp_stats.<a class="code" href="structst__kp__stats.html#a0ce7bf1325d124d6666a26012a46410a">s_rb_secondary</a> = (<span class="keywordtype">unsigned</span> int)(kp-&gt;<a class="code" href="structtw__kp.html#a05a49ec7f8f98c6d7d8ca15ae1f8abdb">kp_stats</a>-&gt;<a class="code" href="structst__kp__stats.html#a0ce7bf1325d124d6666a26012a46410a">s_rb_secondary</a> - kp-&gt;<a class="code" href="structtw__kp.html#a3da4f035f393ce94c4135f1c20252acf">last_stats</a>[col_type]-&gt;<a class="code" href="structst__kp__stats.html#a0ce7bf1325d124d6666a26012a46410a">s_rb_secondary</a>);</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    kp_stats.<a class="code" href="structst__kp__stats.html#a0a3b31a34ceda52b317f5c82e4ce915c">s_nsend_network</a> = (<span class="keywordtype">unsigned</span> int)(kp-&gt;<a class="code" href="structtw__kp.html#a05a49ec7f8f98c6d7d8ca15ae1f8abdb">kp_stats</a>-&gt;<a class="code" href="structst__kp__stats.html#a0a3b31a34ceda52b317f5c82e4ce915c">s_nsend_network</a> - kp-&gt;<a class="code" href="structtw__kp.html#a3da4f035f393ce94c4135f1c20252acf">last_stats</a>[col_type]-&gt;<a class="code" href="structst__kp__stats.html#a0a3b31a34ceda52b317f5c82e4ce915c">s_nsend_network</a>);</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    kp_stats.<a class="code" href="structst__kp__stats.html#a29c7947257fbbd0d281f7a95e5222604">s_nread_network</a> = (<span class="keywordtype">unsigned</span> int)(kp-&gt;<a class="code" href="structtw__kp.html#a05a49ec7f8f98c6d7d8ca15ae1f8abdb">kp_stats</a>-&gt;<a class="code" href="structst__kp__stats.html#a29c7947257fbbd0d281f7a95e5222604">s_nread_network</a> - kp-&gt;<a class="code" href="structtw__kp.html#a3da4f035f393ce94c4135f1c20252acf">last_stats</a>[col_type]-&gt;<a class="code" href="structst__kp__stats.html#a29c7947257fbbd0d281f7a95e5222604">s_nread_network</a>);</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    kp_stats.<a class="code" href="structst__kp__stats.html#ad4abb13dac4aa0a30ff25fbffa7d930e">time_ahead_gvt</a> = (float)(<a class="code" href="ross_8h.html#a096f73feb08316896d644277b486c9ea">TW_STIME_DBL</a>(kp-&gt;<a class="code" href="structtw__kp.html#aabf1253aa1eb55c613a70fb3c9271117">last_time</a>) - <a class="code" href="ross_8h.html#a096f73feb08316896d644277b486c9ea">TW_STIME_DBL</a>(pe-&gt;<a class="code" href="structtw__pe.html#a3f82dbbf2dbb0163b6078ff25cb75a1b">GVT</a>));</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    <span class="keywordtype">int</span> net_events = kp_stats.<a class="code" href="structst__kp__stats.html#a104d335ef8681a661735bbe760deca1b">s_nevent_processed</a> - kp_stats.<a class="code" href="structst__kp__stats.html#a9fdf23c646a0c0b89bf902fa08eba758">s_e_rbs</a>;</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    <span class="keywordflow">if</span> (net_events &gt; 0)</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;        kp_stats.<a class="code" href="structst__kp__stats.html#aaa8518fc52cd8856700809d791ecbe5a">efficiency</a> = (float) 100.0 * (1.0 - ((<span class="keywordtype">float</span>) kp_stats.<a class="code" href="structst__kp__stats.html#a9fdf23c646a0c0b89bf902fa08eba758">s_e_rbs</a> / (float) net_events));</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;        kp_stats.<a class="code" href="structst__kp__stats.html#aaa8518fc52cd8856700809d791ecbe5a">efficiency</a> = 0;</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    memcpy(kp-&gt;<a class="code" href="structtw__kp.html#a3da4f035f393ce94c4135f1c20252acf">last_stats</a>[col_type], kp-&gt;<a class="code" href="structtw__kp.html#a05a49ec7f8f98c6d7d8ca15ae1f8abdb">kp_stats</a>, <span class="keyword">sizeof</span>(<a class="code" href="structst__kp__stats.html">st_kp_stats</a>));</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    memcpy(&amp;buffer[index], sample_md, <span class="keyword">sizeof</span>(*sample_md));</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    index += <span class="keyword">sizeof</span>(*sample_md);</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    memcpy(&amp;buffer[index], &amp;kp_stats, <span class="keyword">sizeof</span>(kp_stats));</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    index += <span class="keyword">sizeof</span>(kp_stats);</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    <span class="keywordflow">if</span> (index != buf_size)</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;        <a class="code" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa">tw_error</a>(<a class="code" href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a>, <span class="stringliteral">&quot;size of data being pushed to buffer is incorrect!\n&quot;</span>);</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    <a class="code" href="st-instrumentation_8h.html#a726b5dd5323e5d253e35d7fff164e6a5">st_buffer_push</a>(col_type, &amp;buffer[0], buf_size);</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;}</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="st-sim-engine_8c.html#a6d73057505cdbfef1d533509b61ea653">  145</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="st-sim-engine_8c.html#a6d73057505cdbfef1d533509b61ea653">st_collect_engine_data_lps</a>(<a class="code" href="structtw__lp.html">tw_lp</a> *lp, <a class="code" href="structsample__metadata.html">sample_metadata</a> *sample_md, <span class="keywordtype">int</span> col_type)</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;{</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    <a class="code" href="structst__lp__stats.html">st_lp_stats</a> lp_stats;</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    <span class="keywordtype">int</span> buf_size = <span class="keyword">sizeof</span>(*sample_md) + <span class="keyword">sizeof</span>(lp_stats);</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    <span class="keywordtype">char</span> buffer[buf_size];</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    <span class="keywordtype">int</span> index = 0;</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    <span class="comment">// sample_md time stamps were set in the calling function</span></div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    sample_md-&gt;<a class="code" href="structsample__metadata.html#aaaed933f241f423db84d7c0cda83087c">flag</a> = <a class="code" href="st-instrumentation_8h.html#a1418b1c212e8b79f85697aa339baa0daa56f2c0e4895ee2ff32d38b2ca778957d">LP_TYPE</a>;</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;    sample_md-&gt;<a class="code" href="structsample__metadata.html#ae6fab449367ff0bd98760c9229e0589a">sample_sz</a> = <span class="keyword">sizeof</span>(lp_stats);</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;    lp_stats.<a class="code" href="structst__lp__stats.html#abcda6ec2120d311ff846076ff6f2489d">peid</a> = (<span class="keywordtype">unsigned</span> int) <a class="code" href="ross-extern_8h.html#a83ae3f8b8b94935a1dbdfa2d2552f508">g_tw_mynode</a>;</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;    lp_stats.<a class="code" href="structst__lp__stats.html#ad49419fad5cb03b5836668004091efe0">kpid</a> = lp-&gt;<a class="code" href="structtw__lp.html#a8028662b2668953fa9f49f2df7d00850">kp</a>-&gt;<a class="code" href="structtw__kp.html#afb056d26713ffb46913315b0d2f2651b">id</a>;</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;    lp_stats.<a class="code" href="structst__lp__stats.html#a27b43ceccb89ae0a6afd411f52838558">lpid</a> = lp-&gt;<a class="code" href="structtw__lp.html#a3e75d9bf7796c16870ad686564ee4c20">gid</a>;</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;    lp_stats.<a class="code" href="structst__lp__stats.html#a3e175c6e5fa47ee3bffcabecd3efa72a">s_nevent_processed</a> = (<span class="keywordtype">unsigned</span> int)(lp-&gt;<a class="code" href="structtw__lp.html#a0a11fbbde67b3bc5555f659c4a20f572">lp_stats</a>-&gt;<a class="code" href="structst__lp__stats.html#a3e175c6e5fa47ee3bffcabecd3efa72a">s_nevent_processed</a> - lp-&gt;<a class="code" href="structtw__lp.html#ad0cecc1cf9758656d84d7189f9b41499">last_stats</a>[col_type]-&gt;<a class="code" href="structst__lp__stats.html#a3e175c6e5fa47ee3bffcabecd3efa72a">s_nevent_processed</a>);</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;    lp_stats.<a class="code" href="structst__lp__stats.html#ac2526f77549ed35b48025e728b443ed6">s_nevent_abort</a> = (<span class="keywordtype">unsigned</span> int)(lp-&gt;<a class="code" href="structtw__lp.html#a0a11fbbde67b3bc5555f659c4a20f572">lp_stats</a>-&gt;<a class="code" href="structst__lp__stats.html#ac2526f77549ed35b48025e728b443ed6">s_nevent_abort</a> - lp-&gt;<a class="code" href="structtw__lp.html#ad0cecc1cf9758656d84d7189f9b41499">last_stats</a>[col_type]-&gt;<a class="code" href="structst__lp__stats.html#ac2526f77549ed35b48025e728b443ed6">s_nevent_abort</a>);</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    lp_stats.<a class="code" href="structst__lp__stats.html#a9fe2449cacb9a7ccaca3af5253ecd29d">s_e_rbs</a> = (<span class="keywordtype">unsigned</span> int)(lp-&gt;<a class="code" href="structtw__lp.html#a0a11fbbde67b3bc5555f659c4a20f572">lp_stats</a>-&gt;<a class="code" href="structst__lp__stats.html#a9fe2449cacb9a7ccaca3af5253ecd29d">s_e_rbs</a> - lp-&gt;<a class="code" href="structtw__lp.html#ad0cecc1cf9758656d84d7189f9b41499">last_stats</a>[col_type]-&gt;<a class="code" href="structst__lp__stats.html#a9fe2449cacb9a7ccaca3af5253ecd29d">s_e_rbs</a>);</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;    lp_stats.<a class="code" href="structst__lp__stats.html#ad79ff3ee8ef9921cee02d7f641a64165">s_nsend_network</a> = (<span class="keywordtype">unsigned</span> int)(lp-&gt;<a class="code" href="structtw__lp.html#a0a11fbbde67b3bc5555f659c4a20f572">lp_stats</a>-&gt;<a class="code" href="structst__lp__stats.html#ad79ff3ee8ef9921cee02d7f641a64165">s_nsend_network</a> - lp-&gt;<a class="code" href="structtw__lp.html#ad0cecc1cf9758656d84d7189f9b41499">last_stats</a>[col_type]-&gt;<a class="code" href="structst__lp__stats.html#ad79ff3ee8ef9921cee02d7f641a64165">s_nsend_network</a>);</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    lp_stats.<a class="code" href="structst__lp__stats.html#a12c46566f17f830211d872c5f29b8722">s_nread_network</a> = (<span class="keywordtype">unsigned</span> int)(lp-&gt;<a class="code" href="structtw__lp.html#a0a11fbbde67b3bc5555f659c4a20f572">lp_stats</a>-&gt;<a class="code" href="structst__lp__stats.html#a12c46566f17f830211d872c5f29b8722">s_nread_network</a> - lp-&gt;<a class="code" href="structtw__lp.html#ad0cecc1cf9758656d84d7189f9b41499">last_stats</a>[col_type]-&gt;<a class="code" href="structst__lp__stats.html#a12c46566f17f830211d872c5f29b8722">s_nread_network</a>);</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;    <span class="keywordtype">int</span> net_events = lp_stats.<a class="code" href="structst__lp__stats.html#a3e175c6e5fa47ee3bffcabecd3efa72a">s_nevent_processed</a> - lp_stats.<a class="code" href="structst__lp__stats.html#a9fe2449cacb9a7ccaca3af5253ecd29d">s_e_rbs</a>;</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;    <span class="keywordflow">if</span> (net_events &gt; 0)</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;        lp_stats.<a class="code" href="structst__lp__stats.html#a623d110e6e37cacea919553820d4d5f2">efficiency</a> = (float) 100.0 * (1.0 - ((<span class="keywordtype">float</span>) lp_stats.<a class="code" href="structst__lp__stats.html#a9fe2449cacb9a7ccaca3af5253ecd29d">s_e_rbs</a> / (float) net_events));</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;        lp_stats.<a class="code" href="structst__lp__stats.html#a623d110e6e37cacea919553820d4d5f2">efficiency</a> = 0;</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    memcpy(lp-&gt;<a class="code" href="structtw__lp.html#ad0cecc1cf9758656d84d7189f9b41499">last_stats</a>[col_type], lp-&gt;<a class="code" href="structtw__lp.html#a0a11fbbde67b3bc5555f659c4a20f572">lp_stats</a>, <span class="keyword">sizeof</span>(<a class="code" href="structst__lp__stats.html">st_lp_stats</a>));</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;    memcpy(&amp;buffer[index], sample_md, <span class="keyword">sizeof</span>(*sample_md));</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;    index += <span class="keyword">sizeof</span>(*sample_md);</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    memcpy(&amp;buffer[index], &amp;lp_stats, <span class="keyword">sizeof</span>(lp_stats));</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    index += <span class="keyword">sizeof</span>(lp_stats);</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;    <span class="keywordflow">if</span> (index != buf_size)</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;        <a class="code" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa">tw_error</a>(<a class="code" href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a>, <span class="stringliteral">&quot;size of data being pushed to buffer is incorrect!\n&quot;</span>);</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;    <a class="code" href="st-instrumentation_8h.html#a726b5dd5323e5d253e35d7fff164e6a5">st_buffer_push</a>(col_type, &amp;buffer[0], buf_size);</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;}</div>
<div class="ttc" id="structst__lp__stats_html_ad49419fad5cb03b5836668004091efe0"><div class="ttname"><a href="structst__lp__stats.html#ad49419fad5cb03b5836668004091efe0">st_lp_stats::kpid</a></div><div class="ttdeci">unsigned int kpid</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00152">st-instrumentation.h:152</a></div></div>
<div class="ttc" id="structst__pe__stats_html_af35c628dcc988b123dda46ccae2c4db0"><div class="ttname"><a href="structst__pe__stats.html#af35c628dcc988b123dda46ccae2c4db0">st_pe_stats::s_e_rbs</a></div><div class="ttdeci">unsigned int s_e_rbs</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00106">st-instrumentation.h:106</a></div></div>
<div class="ttc" id="ross-extern_8h_html_afffdf140f2c492f61546ad783833f127"><div class="ttname"><a href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a></div><div class="ttdeci">#define TW_LOC</div><div class="ttdef"><b>Definition:</b> <a href="ross-extern_8h_source.html#l00164">ross-extern.h:164</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_a1418b1c212e8b79f85697aa339baa0daaf46554b4daf67327ec840c4a73106acd"><div class="ttname"><a href="st-instrumentation_8h.html#a1418b1c212e8b79f85697aa339baa0daaf46554b4daf67327ec840c4a73106acd">PE_TYPE</a></div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00050">st-instrumentation.h:50</a></div></div>
<div class="ttc" id="ross-extern_8h_html_aad7609a89939a59a33ae1cd1f5601e7e"><div class="ttname"><a href="ross-extern_8h.html#aad7609a89939a59a33ae1cd1f5601e7e">g_tw_gvt_done</a></div><div class="ttdeci">unsigned int g_tw_gvt_done</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00081">ross-global.c:81</a></div></div>
<div class="ttc" id="structst__lp__stats_html_ad79ff3ee8ef9921cee02d7f641a64165"><div class="ttname"><a href="structst__lp__stats.html#ad79ff3ee8ef9921cee02d7f641a64165">st_lp_stats::s_nsend_network</a></div><div class="ttdeci">unsigned int s_nsend_network</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00158">st-instrumentation.h:158</a></div></div>
<div class="ttc" id="structst__pe__stats_html_afff11ab93485182e993f0a34dcf72c7a"><div class="ttname"><a href="structst__pe__stats.html#afff11ab93485182e993f0a34dcf72c7a">st_pe_stats::s_ngvts</a></div><div class="ttdeci">unsigned int s_ngvts</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00116">st-instrumentation.h:116</a></div></div>
<div class="ttc" id="structst__pe__stats_html_ad2d44bfb05bd92e14f5deeadcf377777"><div class="ttname"><a href="structst__pe__stats.html#ad2d44bfb05bd92e14f5deeadcf377777">st_pe_stats::peid</a></div><div class="ttdeci">unsigned int peid</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00102">st-instrumentation.h:102</a></div></div>
<div class="ttc" id="st-sim-engine_8c_html_abe357d1576930cdc1a98c488745f8114"><div class="ttname"><a href="st-sim-engine_8c.html#abe357d1576930cdc1a98c488745f8114">last_pe_stats</a></div><div class="ttdeci">static tw_statistics last_pe_stats[3]</div><div class="ttdef"><b>Definition:</b> <a href="st-sim-engine_8c_source.html#l00006">st-sim-engine.c:6</a></div></div>
<div class="ttc" id="structtw__statistics_html_aad1a97ac3d3b2a0b5be6a77e576d08a4"><div class="ttname"><a href="structtw__statistics.html#aad1a97ac3d3b2a0b5be6a77e576d08a4">tw_statistics::s_net_other</a></div><div class="ttdeci">tw_clock s_net_other</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00137">ross-types.h:137</a></div></div>
<div class="ttc" id="structtw__statistics_html_afb4f29bb6fd2359929db62d67b3f0c24"><div class="ttname"><a href="structtw__statistics.html#afb4f29bb6fd2359929db62d67b3f0c24">tw_statistics::s_event_process</a></div><div class="ttdeci">tw_clock s_event_process</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00142">ross-types.h:142</a></div></div>
<div class="ttc" id="gtod_8c_html_a460e9a582762cd454d37d9d2704c3a67"><div class="ttname"><a href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a></div><div class="ttdeci">unsigned long long g_tw_clock_rate</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00098">ross-global.c:98</a></div></div>
<div class="ttc" id="structst__pe__stats_html_a8ed26a890acebe9131eb2e21f84e3c7b"><div class="ttname"><a href="structst__pe__stats.html#a8ed26a890acebe9131eb2e21f84e3c7b">st_pe_stats::s_avl</a></div><div class="ttdeci">float s_avl</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00130">st-instrumentation.h:130</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_a1418b1c212e8b79f85697aa339baa0daa56f2c0e4895ee2ff32d38b2ca778957d"><div class="ttname"><a href="st-instrumentation_8h.html#a1418b1c212e8b79f85697aa339baa0daa56f2c0e4895ee2ff32d38b2ca778957d">LP_TYPE</a></div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00052">st-instrumentation.h:52</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_a205a10771cc5e3fe45d002eca571a3ff"><div class="ttname"><a href="st-instrumentation_8c.html#a205a10771cc5e3fe45d002eca571a3ff">g_st_lp_data</a></div><div class="ttdeci">int g_st_lp_data</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00008">st-instrumentation.c:8</a></div></div>
<div class="ttc" id="st-sim-engine_8c_html_ae01976c1e08878010b9d085f2e196b03"><div class="ttname"><a href="st-sim-engine_8c.html#ae01976c1e08878010b9d085f2e196b03">st_collect_engine_data_pes</a></div><div class="ttdeci">void st_collect_engine_data_pes(tw_pe *pe, sample_metadata *sample_md, tw_statistics *s, int col_type)</div><div class="ttdef"><b>Definition:</b> <a href="st-sim-engine_8c_source.html#l00045">st-sim-engine.c:45</a></div></div>
<div class="ttc" id="structst__kp__stats_html_a41690a7fa7b920eb38ae6c2b33d0a944"><div class="ttname"><a href="structst__kp__stats.html#a41690a7fa7b920eb38ae6c2b33d0a944">st_kp_stats::peid</a></div><div class="ttdeci">unsigned int peid</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00136">st-instrumentation.h:136</a></div></div>
<div class="ttc" id="structtw__statistics_html_a63bdf31079607ac79020b3efb874dedd"><div class="ttname"><a href="structtw__statistics.html#a63bdf31079607ac79020b3efb874dedd">tw_statistics::s_pq</a></div><div class="ttdeci">tw_clock s_pq</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00143">ross-types.h:143</a></div></div>
<div class="ttc" id="structst__pe__stats_html_ab4caf9023a6962d21131aa369941b301"><div class="ttname"><a href="structst__pe__stats.html#ab4caf9023a6962d21131aa369941b301">st_pe_stats::s_rb_secondary</a></div><div class="ttdeci">unsigned int s_rb_secondary</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00108">st-instrumentation.h:108</a></div></div>
<div class="ttc" id="structst__lp__stats_html_a27b43ceccb89ae0a6afd411f52838558"><div class="ttname"><a href="structst__lp__stats.html#a27b43ceccb89ae0a6afd411f52838558">st_lp_stats::lpid</a></div><div class="ttdeci">unsigned int lpid</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00153">st-instrumentation.h:153</a></div></div>
<div class="ttc" id="structtw__lp_html_a0a11fbbde67b3bc5555f659c4a20f572"><div class="ttname"><a href="structtw__lp.html#a0a11fbbde67b3bc5555f659c4a20f572">tw_lp::lp_stats</a></div><div class="ttdeci">struct st_lp_stats * lp_stats</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00323">ross-types.h:323</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a49ed2388aaae26e43280b7909c834aaa"><div class="ttname"><a href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa">tw_error</a></div><div class="ttdeci">void tw_error(const char *file, int line, const char *fmt,...) NORETURN</div><div class="ttdef"><b>Definition:</b> <a href="tw-util_8c_source.html#l00074">tw-util.c:74</a></div></div>
<div class="ttc" id="structst__kp__stats_html_ad4abb13dac4aa0a30ff25fbffa7d930e"><div class="ttname"><a href="structst__kp__stats.html#ad4abb13dac4aa0a30ff25fbffa7d930e">st_kp_stats::time_ahead_gvt</a></div><div class="ttdeci">float time_ahead_gvt</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00146">st-instrumentation.h:146</a></div></div>
<div class="ttc" id="structtw__kp_html_a05a49ec7f8f98c6d7d8ca15ae1f8abdb"><div class="ttname"><a href="structtw__kp.html#a05a49ec7f8f98c6d7d8ca15ae1f8abdb">tw_kp::kp_stats</a></div><div class="ttdeci">struct st_kp_stats * kp_stats</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00366">ross-types.h:366</a></div></div>
<div class="ttc" id="structst__pe__stats_html_aa8dfc89d4f04b45c7f37e22c3d110f64"><div class="ttname"><a href="structst__pe__stats.html#aa8dfc89d4f04b45c7f37e22c3d110f64">st_pe_stats::s_rollback</a></div><div class="ttdeci">float s_rollback</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00128">st-instrumentation.h:128</a></div></div>
<div class="ttc" id="structtw__statistics_html_a80ffd79aaf7873cac6407f2fe36d72e9"><div class="ttname"><a href="structtw__statistics.html#a80ffd79aaf7873cac6407f2fe36d72e9">tw_statistics::s_nevent_abort</a></div><div class="ttdeci">tw_stat s_nevent_abort</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00112">ross-types.h:112</a></div></div>
<div class="ttc" id="structsample__metadata_html_aa363c163cb8f6cd5d44d836ae5d8f281"><div class="ttname"><a href="structsample__metadata.html#aa363c163cb8f6cd5d44d836ae5d8f281">sample_metadata::real_time</a></div><div class="ttdeci">double real_time</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00068">st-instrumentation.h:68</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_ac0fec55109412e73202eb3f7c7fb5200"><div class="ttname"><a href="st-instrumentation_8c.html#ac0fec55109412e73202eb3f7c7fb5200">g_st_pe_data</a></div><div class="ttdeci">int g_st_pe_data</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00006">st-instrumentation.c:6</a></div></div>
<div class="ttc" id="structtw__pe_html_ac1d26b7bfd058cc55cbf5ee201edb83c"><div class="ttname"><a href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">tw_pe::stats</a></div><div class="ttdeci">tw_statistics stats</div><div class="ttdoc">per PE counters </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00415">ross-types.h:415</a></div></div>
<div class="ttc" id="structst__pe__stats_html_a3ace59d6dc8a9cbe0162fb873c453d79"><div class="ttname"><a href="structst__pe__stats.html#a3ace59d6dc8a9cbe0162fb873c453d79">st_pe_stats::s_net_read</a></div><div class="ttdeci">float s_net_read</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00121">st-instrumentation.h:121</a></div></div>
<div class="ttc" id="structst__lp__stats_html_abcda6ec2120d311ff846076ff6f2489d"><div class="ttname"><a href="structst__lp__stats.html#abcda6ec2120d311ff846076ff6f2489d">st_lp_stats::peid</a></div><div class="ttdeci">unsigned int peid</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00151">st-instrumentation.h:151</a></div></div>
<div class="ttc" id="structtw__kp_html_a3da4f035f393ce94c4135f1c20252acf"><div class="ttname"><a href="structtw__kp.html#a3da4f035f393ce94c4135f1c20252acf">tw_kp::last_stats</a></div><div class="ttdeci">struct st_kp_stats * last_stats[3]</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00367">ross-types.h:367</a></div></div>
<div class="ttc" id="structst__lp__stats_html_a9fe2449cacb9a7ccaca3af5253ecd29d"><div class="ttname"><a href="structst__lp__stats.html#a9fe2449cacb9a7ccaca3af5253ecd29d">st_lp_stats::s_e_rbs</a></div><div class="ttdeci">unsigned int s_e_rbs</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00157">st-instrumentation.h:157</a></div></div>
<div class="ttc" id="st-sim-engine_8c_html_aeec2327264c7e2fc4b1d01aff188fc7b"><div class="ttname"><a href="st-sim-engine_8c.html#aeec2327264c7e2fc4b1d01aff188fc7b">st_collect_engine_data</a></div><div class="ttdeci">void st_collect_engine_data(tw_pe *pe, int col_type)</div><div class="ttdef"><b>Definition:</b> <a href="st-sim-engine_8c_source.html#l00010">st-sim-engine.c:10</a></div></div>
<div class="ttc" id="structtw__statistics_html_ae1f695b710d56b9deb71d8c32f5ea433"><div class="ttname"><a href="structtw__statistics.html#ae1f695b710d56b9deb71d8c32f5ea433">tw_statistics::s_rb_total</a></div><div class="ttdeci">tw_stat s_rb_total</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00115">ross-types.h:115</a></div></div>
<div class="ttc" id="structst__kp__stats_html_aeb66f5ede13e4fdfe29428cb07ea627a"><div class="ttname"><a href="structst__kp__stats.html#aeb66f5ede13e4fdfe29428cb07ea627a">st_kp_stats::s_nevent_abort</a></div><div class="ttdeci">unsigned int s_nevent_abort</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00140">st-instrumentation.h:140</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_a726b5dd5323e5d253e35d7fff164e6a5"><div class="ttname"><a href="st-instrumentation_8h.html#a726b5dd5323e5d253e35d7fff164e6a5">st_buffer_push</a></div><div class="ttdeci">void st_buffer_push(int type, char *data, int size)</div><div class="ttdef"><b>Definition:</b> <a href="st-stats-buffer_8c_source.html#l00100">st-stats-buffer.c:100</a></div></div>
<div class="ttc" id="structst__pe__stats_html_ab2855747d06047e606e45f04d8f4c53e"><div class="ttname"><a href="structst__pe__stats.html#ab2855747d06047e606e45f04d8f4c53e">st_pe_stats::s_pq_qsize</a></div><div class="ttdeci">unsigned int s_pq_qsize</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00110">st-instrumentation.h:110</a></div></div>
<div class="ttc" id="structst__pe__stats_html_ad1541cbf6581a3f3c09e1f0e07e04119"><div class="ttname"><a href="structst__pe__stats.html#ad1541cbf6581a3f3c09e1f0e07e04119">st_pe_stats::s_event_abort</a></div><div class="ttdeci">float s_event_abort</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00125">st-instrumentation.h:125</a></div></div>
<div class="ttc" id="aarch64_8h_html_a450cf25fa5291629087ca4198de55757"><div class="ttname"><a href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757">tw_clock_read</a></div><div class="ttdeci">static tw_clock tw_clock_read(void)</div><div class="ttdef"><b>Definition:</b> <a href="aarch64_8h_source.html#l00006">aarch64.h:6</a></div></div>
<div class="ttc" id="structtw__statistics_html_a43c6da6365aebc030d939dc378daf154"><div class="ttname"><a href="structtw__statistics.html#a43c6da6365aebc030d939dc378daf154">tw_statistics::s_lz4</a></div><div class="ttdeci">tw_clock s_lz4</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00150">ross-types.h:150</a></div></div>
<div class="ttc" id="structst__pe__stats_html_aa746af7aa8c1104fb28189e8a3ce8ba0"><div class="ttname"><a href="structst__pe__stats.html#aa746af7aa8c1104fb28189e8a3ce8ba0">st_pe_stats::s_lz4</a></div><div class="ttdeci">float s_lz4</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00132">st-instrumentation.h:132</a></div></div>
<div class="ttc" id="structst__pe__stats_html_a18d1cfc7b9eac40b5f7477e4592ea83b"><div class="ttname"><a href="structst__pe__stats.html#a18d1cfc7b9eac40b5f7477e4592ea83b">st_pe_stats::all_reduce_count</a></div><div class="ttdeci">unsigned int all_reduce_count</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00118">st-instrumentation.h:118</a></div></div>
<div class="ttc" id="structtw__pe_html"><div class="ttname"><a href="structtw__pe.html">tw_pe</a></div><div class="ttdoc">Holds the entire PE state. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00375">ross-types.h:375</a></div></div>
<div class="ttc" id="structst__lp__stats_html_a3e175c6e5fa47ee3bffcabecd3efa72a"><div class="ttname"><a href="structst__lp__stats.html#a3e175c6e5fa47ee3bffcabecd3efa72a">st_lp_stats::s_nevent_processed</a></div><div class="ttdeci">unsigned int s_nevent_processed</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00155">st-instrumentation.h:155</a></div></div>
<div class="ttc" id="structst__pe__stats_html_af5507809bce05a43dd894838fde491cd"><div class="ttname"><a href="structst__pe__stats.html#af5507809bce05a43dd894838fde491cd">st_pe_stats::s_pe_event_ties</a></div><div class="ttdeci">unsigned int s_pe_event_ties</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00117">st-instrumentation.h:117</a></div></div>
<div class="ttc" id="structst__pe__stats_html_a5ebc1b923455c163b32c1130c73377de"><div class="ttname"><a href="structst__pe__stats.html#a5ebc1b923455c163b32c1130c73377de">st_pe_stats::s_cancel_q</a></div><div class="ttdeci">float s_cancel_q</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00129">st-instrumentation.h:129</a></div></div>
<div class="ttc" id="structst__pe__stats_html_ab143e87eae4f4a62c6388618c4851fa4"><div class="ttname"><a href="structst__pe__stats.html#ab143e87eae4f4a62c6388618c4851fa4">st_pe_stats::s_net_other</a></div><div class="ttdeci">float s_net_other</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00122">st-instrumentation.h:122</a></div></div>
<div class="ttc" id="ross-extern_8h_html_ab8bd876929690758e922961bcc16cd64"><div class="ttname"><a href="ross-extern_8h.html#ab8bd876929690758e922961bcc16cd64">g_tw_nlp</a></div><div class="ttdeci">tw_lpid g_tw_nlp</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00023">ross-global.c:23</a></div></div>
<div class="ttc" id="structtw__statistics_html_af5f39d1286d62c54c9cc14c8e5f16544"><div class="ttname"><a href="structtw__statistics.html#af5f39d1286d62c54c9cc14c8e5f16544">tw_statistics::s_stat_comp</a></div><div class="ttdeci">tw_clock s_stat_comp</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00151">ross-types.h:151</a></div></div>
<div class="ttc" id="structst__kp__stats_html_a0a3b31a34ceda52b317f5c82e4ce915c"><div class="ttname"><a href="structst__kp__stats.html#a0a3b31a34ceda52b317f5c82e4ce915c">st_kp_stats::s_nsend_network</a></div><div class="ttdeci">unsigned int s_nsend_network</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00144">st-instrumentation.h:144</a></div></div>
<div class="ttc" id="structtw__statistics_html_a950bfd3cce9aeb0874095350d634e977"><div class="ttname"><a href="structtw__statistics.html#a950bfd3cce9aeb0874095350d634e977">tw_statistics::s_nsend_network</a></div><div class="ttdeci">tw_stat s_nsend_network</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00121">ross-types.h:121</a></div></div>
<div class="ttc" id="structsample__metadata_html"><div class="ttname"><a href="structsample__metadata.html">sample_metadata</a></div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00063">st-instrumentation.h:63</a></div></div>
<div class="ttc" id="splay_8c_html_addf3f3d612922ac6c07304ddb4895ab7"><div class="ttname"><a href="splay_8c.html#addf3f3d612922ac6c07304ddb4895ab7">tw_pq_get_size</a></div><div class="ttdeci">unsigned int tw_pq_get_size(splay_tree *st)</div><div class="ttdef"><b>Definition:</b> <a href="splay_8c_source.html#l00351">splay.c:351</a></div></div>
<div class="ttc" id="ross-kernel-inline_8h_html_a4066dfaca8faa4af256a377d85cea32f"><div class="ttname"><a href="ross-kernel-inline_8h.html#a4066dfaca8faa4af256a377d85cea32f">tw_getkp</a></div><div class="ttdeci">static tw_kp * tw_getkp(tw_kpid id)</div><div class="ttdef"><b>Definition:</b> <a href="ross-kernel-inline_8h_source.html#l00053">ross-kernel-inline.h:53</a></div></div>
<div class="ttc" id="structsample__metadata_html_aaaed933f241f423db84d7c0cda83087c"><div class="ttname"><a href="structsample__metadata.html#aaaed933f241f423db84d7c0cda83087c">sample_metadata::flag</a></div><div class="ttdeci">int flag</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00065">st-instrumentation.h:65</a></div></div>
<div class="ttc" id="structtw__lp_html_a8028662b2668953fa9f49f2df7d00850"><div class="ttname"><a href="structtw__lp.html#a8028662b2668953fa9f49f2df7d00850">tw_lp::kp</a></div><div class="ttdeci">tw_kp * kp</div><div class="ttdoc">kp – Kernel process that we belong to (must match pe). </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00313">ross-types.h:313</a></div></div>
<div class="ttc" id="structst__kp__stats_html_a4c11a9e217843b4fe5f2081e21e8e07f"><div class="ttname"><a href="structst__kp__stats.html#a4c11a9e217843b4fe5f2081e21e8e07f">st_kp_stats::kpid</a></div><div class="ttdeci">unsigned int kpid</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00137">st-instrumentation.h:137</a></div></div>
<div class="ttc" id="structtw__statistics_html"><div class="ttname"><a href="structtw__statistics.html">tw_statistics</a></div><div class="ttdoc">Statistics tallied over the duration of the simulation. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00107">ross-types.h:107</a></div></div>
<div class="ttc" id="structtw__lp_html_ad0cecc1cf9758656d84d7189f9b41499"><div class="ttname"><a href="structtw__lp.html#ad0cecc1cf9758656d84d7189f9b41499">tw_lp::last_stats</a></div><div class="ttdeci">struct st_lp_stats * last_stats[3]</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00324">ross-types.h:324</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a51b6f7e6bcb3a2d739fe932e95554aeb"><div class="ttname"><a href="ross-extern_8h.html#a51b6f7e6bcb3a2d739fe932e95554aeb">tw_get_stats</a></div><div class="ttdeci">void tw_get_stats(tw_pe *me, tw_statistics *s)</div><div class="ttdef"><b>Definition:</b> <a href="tw-stats_8c_source.html#l00035">tw-stats.c:35</a></div></div>
<div class="ttc" id="structst__pe__stats_html"><div class="ttname"><a href="structst__pe__stats.html">st_pe_stats</a></div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00101">st-instrumentation.h:101</a></div></div>
<div class="ttc" id="structtw__kp_html"><div class="ttname"><a href="structtw__kp.html">tw_kp</a></div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00340">ross-types.h:340</a></div></div>
<div class="ttc" id="structst__lp__stats_html_a12c46566f17f830211d872c5f29b8722"><div class="ttname"><a href="structst__lp__stats.html#a12c46566f17f830211d872c5f29b8722">st_lp_stats::s_nread_network</a></div><div class="ttdeci">unsigned int s_nread_network</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00159">st-instrumentation.h:159</a></div></div>
<div class="ttc" id="structst__lp__stats_html"><div class="ttname"><a href="structst__lp__stats.html">st_lp_stats</a></div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00150">st-instrumentation.h:150</a></div></div>
<div class="ttc" id="structst__kp__stats_html"><div class="ttname"><a href="structst__kp__stats.html">st_kp_stats</a></div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00135">st-instrumentation.h:135</a></div></div>
<div class="ttc" id="structtw__statistics_html_a67369ce1343843fe5d0bb6f723ccb140"><div class="ttname"><a href="structtw__statistics.html#a67369ce1343843fe5d0bb6f723ccb140">tw_statistics::s_nread_network</a></div><div class="ttdeci">tw_stat s_nread_network</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00122">ross-types.h:122</a></div></div>
<div class="ttc" id="structtw__lp_html_a3e75d9bf7796c16870ad686564ee4c20"><div class="ttname"><a href="structtw__lp.html#a3e75d9bf7796c16870ad686564ee4c20">tw_lp::gid</a></div><div class="ttdeci">tw_lpid gid</div><div class="ttdoc">global LP id </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00306">ross-types.h:306</a></div></div>
<div class="ttc" id="structst__pe__stats_html_a26ba857086ba179b36d95038ba90744d"><div class="ttname"><a href="structst__pe__stats.html#a26ba857086ba179b36d95038ba90744d">st_pe_stats::s_event_process</a></div><div class="ttdeci">float s_event_process</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00126">st-instrumentation.h:126</a></div></div>
<div class="ttc" id="structtw__statistics_html_a11793b1e0f358ce83e0f0e7d858f14c5"><div class="ttname"><a href="structtw__statistics.html#a11793b1e0f358ce83e0f0e7d858f14c5">tw_statistics::s_buddy</a></div><div class="ttdeci">tw_clock s_buddy</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00149">ross-types.h:149</a></div></div>
<div class="ttc" id="structst__pe__stats_html_a426892db618e8f92965fffd2f978a605"><div class="ttname"><a href="structst__pe__stats.html#a426892db618e8f92965fffd2f978a605">st_pe_stats::s_rb_total</a></div><div class="ttdeci">unsigned int s_rb_total</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00107">st-instrumentation.h:107</a></div></div>
<div class="ttc" id="structst__kp__stats_html_a0ce7bf1325d124d6666a26012a46410a"><div class="ttname"><a href="structst__kp__stats.html#a0ce7bf1325d124d6666a26012a46410a">st_kp_stats::s_rb_secondary</a></div><div class="ttdeci">unsigned int s_rb_secondary</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00143">st-instrumentation.h:143</a></div></div>
<div class="ttc" id="structst__kp__stats_html_aaa8518fc52cd8856700809d791ecbe5a"><div class="ttname"><a href="structst__kp__stats.html#aaa8518fc52cd8856700809d791ecbe5a">st_kp_stats::efficiency</a></div><div class="ttdeci">float efficiency</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00147">st-instrumentation.h:147</a></div></div>
<div class="ttc" id="structsample__metadata_html_ae6fab449367ff0bd98760c9229e0589a"><div class="ttname"><a href="structsample__metadata.html#ae6fab449367ff0bd98760c9229e0589a">sample_metadata::sample_sz</a></div><div class="ttdeci">int sample_sz</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00066">st-instrumentation.h:66</a></div></div>
<div class="ttc" id="structst__kp__stats_html_a104d335ef8681a661735bbe760deca1b"><div class="ttname"><a href="structst__kp__stats.html#a104d335ef8681a661735bbe760deca1b">st_kp_stats::s_nevent_processed</a></div><div class="ttdeci">unsigned int s_nevent_processed</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00139">st-instrumentation.h:139</a></div></div>
<div class="ttc" id="structtw__statistics_html_a97f53f996639cd3ddd6c975addd0e984"><div class="ttname"><a href="structtw__statistics.html#a97f53f996639cd3ddd6c975addd0e984">tw_statistics::s_e_rbs</a></div><div class="ttdeci">tw_stat s_e_rbs</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00113">ross-types.h:113</a></div></div>
<div class="ttc" id="structst__kp__stats_html_a9fdf23c646a0c0b89bf902fa08eba758"><div class="ttname"><a href="structst__kp__stats.html#a9fdf23c646a0c0b89bf902fa08eba758">st_kp_stats::s_e_rbs</a></div><div class="ttdeci">unsigned int s_e_rbs</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00141">st-instrumentation.h:141</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a83ae3f8b8b94935a1dbdfa2d2552f508"><div class="ttname"><a href="ross-extern_8h.html#a83ae3f8b8b94935a1dbdfa2d2552f508">g_tw_mynode</a></div><div class="ttdeci">tw_peid g_tw_mynode</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00088">ross-global.c:88</a></div></div>
<div class="ttc" id="structst__pe__stats_html_a77a837d65069064481d5cd101d8940d3"><div class="ttname"><a href="structst__pe__stats.html#a77a837d65069064481d5cd101d8940d3">st_pe_stats::s_nread_network</a></div><div class="ttdeci">unsigned int s_nread_network</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00112">st-instrumentation.h:112</a></div></div>
<div class="ttc" id="st-sim-engine_8c_html_a6d73057505cdbfef1d533509b61ea653"><div class="ttname"><a href="st-sim-engine_8c.html#a6d73057505cdbfef1d533509b61ea653">st_collect_engine_data_lps</a></div><div class="ttdeci">void st_collect_engine_data_lps(tw_lp *lp, sample_metadata *sample_md, int col_type)</div><div class="ttdef"><b>Definition:</b> <a href="st-sim-engine_8c_source.html#l00145">st-sim-engine.c:145</a></div></div>
<div class="ttc" id="structtw__pe_html_a90e1dbe51a084d6e02580667159e13ff"><div class="ttname"><a href="structtw__pe.html#a90e1dbe51a084d6e02580667159e13ff">tw_pe::pq</a></div><div class="ttdeci">tw_pq * pq</div><div class="ttdoc">Priority queue used to sort events. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00381">ross-types.h:381</a></div></div>
<div class="ttc" id="structst__pe__stats_html_aa2a31b5b316a43bf43bd75a486e2443a"><div class="ttname"><a href="structst__pe__stats.html#aa2a31b5b316a43bf43bd75a486e2443a">st_pe_stats::s_nevent_processed</a></div><div class="ttdeci">unsigned int s_nevent_processed</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00104">st-instrumentation.h:104</a></div></div>
<div class="ttc" id="structsample__metadata_html_a90c09be4a087909c1f528f5ee56a9a14"><div class="ttname"><a href="structsample__metadata.html#a90c09be4a087909c1f528f5ee56a9a14">sample_metadata::ts</a></div><div class="ttdeci">tw_stime ts</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00067">st-instrumentation.h:67</a></div></div>
<div class="ttc" id="structtw__statistics_html_a1c60ba2fc1683cc9cff5da33497f13f0"><div class="ttname"><a href="structtw__statistics.html#a1c60ba2fc1683cc9cff5da33497f13f0">tw_statistics::s_net_read</a></div><div class="ttdeci">tw_clock s_net_read</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00136">ross-types.h:136</a></div></div>
<div class="ttc" id="structst__kp__stats_html_a29c7947257fbbd0d281f7a95e5222604"><div class="ttname"><a href="structst__kp__stats.html#a29c7947257fbbd0d281f7a95e5222604">st_kp_stats::s_nread_network</a></div><div class="ttdeci">unsigned int s_nread_network</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00145">st-instrumentation.h:145</a></div></div>
<div class="ttc" id="structtw__statistics_html_a57f9136844021515905c3a6bc70eb921"><div class="ttname"><a href="structtw__statistics.html#a57f9136844021515905c3a6bc70eb921">tw_statistics::s_avl</a></div><div class="ttdeci">tw_clock s_avl</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00148">ross-types.h:148</a></div></div>
<div class="ttc" id="ross_8h_html"><div class="ttname"><a href="ross_8h.html">ross.h</a></div></div>
<div class="ttc" id="ross-kernel-inline_8h_html_a01d028965db8257815ad2ed053a0e40a"><div class="ttname"><a href="ross-kernel-inline_8h.html#a01d028965db8257815ad2ed053a0e40a">tw_getlp</a></div><div class="ttdeci">static tw_lp * tw_getlp(tw_lpid id)</div><div class="ttdef"><b>Definition:</b> <a href="ross-kernel-inline_8h_source.html#l00041">ross-kernel-inline.h:41</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_a1418b1c212e8b79f85697aa339baa0daa0440b181fa47429be2a9456bff69d5f9"><div class="ttname"><a href="st-instrumentation_8h.html#a1418b1c212e8b79f85697aa339baa0daa0440b181fa47429be2a9456bff69d5f9">KP_TYPE</a></div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00051">st-instrumentation.h:51</a></div></div>
<div class="ttc" id="structtw__statistics_html_afbaa299bc177b669536d9fd2986d628f"><div class="ttname"><a href="structtw__statistics.html#afbaa299bc177b669536d9fd2986d628f">tw_statistics::s_fc_attempts</a></div><div class="ttdeci">tw_stat s_fc_attempts</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00118">ross-types.h:118</a></div></div>
<div class="ttc" id="structst__pe__stats_html_a5de5196bb3b8dcdafd86c5036e144924"><div class="ttname"><a href="structst__pe__stats.html#a5de5196bb3b8dcdafd86c5036e144924">st_pe_stats::s_buddy</a></div><div class="ttdeci">float s_buddy</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00131">st-instrumentation.h:131</a></div></div>
<div class="ttc" id="mpi__allreduce_8c_html_a4fe19ab323f25724cbad33292dc0fd79"><div class="ttname"><a href="mpi__allreduce_8c.html#a4fe19ab323f25724cbad33292dc0fd79">all_reduce_cnt</a></div><div class="ttdeci">static tw_stat all_reduce_cnt</div><div class="ttdef"><b>Definition:</b> <a href="mpi__allreduce_8c_source.html#l00008">mpi_allreduce.c:8</a></div></div>
<div class="ttc" id="structtw__statistics_html_a62e777ce390693fbe7b4fb88110c3c10"><div class="ttname"><a href="structtw__statistics.html#a62e777ce390693fbe7b4fb88110c3c10">tw_statistics::s_pe_event_ties</a></div><div class="ttdeci">tw_stat s_pe_event_ties</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00130">ross-types.h:130</a></div></div>
<div class="ttc" id="structtw__statistics_html_a395ff98d71b2e8aaddcf293fa135cd7b"><div class="ttname"><a href="structtw__statistics.html#a395ff98d71b2e8aaddcf293fa135cd7b">tw_statistics::s_fossil_collect</a></div><div class="ttdeci">tw_clock s_fossil_collect</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00139">ross-types.h:139</a></div></div>
<div class="ttc" id="mpi__allreduce_8c_html_ab5b7bed8b49012ab92a14632cba26847"><div class="ttname"><a href="mpi__allreduce_8c.html#ab5b7bed8b49012ab92a14632cba26847">st_get_allreduce_count</a></div><div class="ttdeci">tw_stat st_get_allreduce_count()</div><div class="ttdef"><b>Definition:</b> <a href="mpi__allreduce_8c_source.html#l00020">mpi_allreduce.c:20</a></div></div>
<div class="ttc" id="structst__pe__stats_html_a5a5f001a72c8f12d7b033b54fa33a1b5"><div class="ttname"><a href="structst__pe__stats.html#a5a5f001a72c8f12d7b033b54fa33a1b5">st_pe_stats::s_nevent_abort</a></div><div class="ttdeci">unsigned int s_nevent_abort</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00105">st-instrumentation.h:105</a></div></div>
<div class="ttc" id="structtw__pe_html_a3f82dbbf2dbb0163b6078ff25cb75a1b"><div class="ttname"><a href="structtw__pe.html#a3f82dbbf2dbb0163b6078ff25cb75a1b">tw_pe::GVT</a></div><div class="ttdeci">tw_stime GVT</div><div class="ttdoc">Global Virtual Time. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00403">ross-types.h:403</a></div></div>
<div class="ttc" id="ross-types_8h_html_a68910a3e880a16d5acbac8fc120229a2"><div class="ttname"><a href="ross-types_8h.html#a68910a3e880a16d5acbac8fc120229a2">tw_stat</a></div><div class="ttdeci">unsigned long long tw_stat</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00048">ross-types.h:48</a></div></div>
<div class="ttc" id="structtw__statistics_html_a1fe13f0669aa85a80819965c67771b1c"><div class="ttname"><a href="structtw__statistics.html#a1fe13f0669aa85a80819965c67771b1c">tw_statistics::s_gvt</a></div><div class="ttdeci">tw_clock s_gvt</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00138">ross-types.h:138</a></div></div>
<div class="ttc" id="avl__tree_8c_html_ac4c639748d4d5a271d6c54a18f614605"><div class="ttname"><a href="avl__tree_8c.html#ac4c639748d4d5a271d6c54a18f614605">pe</a></div><div class="ttdeci">tw_pe * pe</div><div class="ttdef"><b>Definition:</b> <a href="avl__tree_8c_source.html#l00011">avl_tree.c:11</a></div></div>
<div class="ttc" id="structst__kp__stats_html_ae2b4a980d36048635b285ae9741c5e50"><div class="ttname"><a href="structst__kp__stats.html#ae2b4a980d36048635b285ae9741c5e50">st_kp_stats::s_rb_total</a></div><div class="ttdeci">unsigned int s_rb_total</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00142">st-instrumentation.h:142</a></div></div>
<div class="ttc" id="aarch64_8h_html_abcd6b97b84bebf1f961f85cd24b56c60"><div class="ttname"><a href="aarch64_8h.html#abcd6b97b84bebf1f961f85cd24b56c60">tw_clock</a></div><div class="ttdeci">uint64_t tw_clock</div><div class="ttdef"><b>Definition:</b> <a href="aarch64_8h_source.html#l00004">aarch64.h:4</a></div></div>
<div class="ttc" id="structst__pe__stats_html_a7629b3de217d11c2fdb07dcd61f8ad06"><div class="ttname"><a href="structst__pe__stats.html#a7629b3de217d11c2fdb07dcd61f8ad06">st_pe_stats::efficiency</a></div><div class="ttdeci">float efficiency</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00119">st-instrumentation.h:119</a></div></div>
<div class="ttc" id="structtw__kp_html_afb056d26713ffb46913315b0d2f2651b"><div class="ttname"><a href="structtw__kp.html#afb056d26713ffb46913315b0d2f2651b">tw_kp::id</a></div><div class="ttdeci">tw_kpid id</div><div class="ttdoc">ID number, otherwise its not available to the app. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00341">ross-types.h:341</a></div></div>
<div class="ttc" id="structst__lp__stats_html_a623d110e6e37cacea919553820d4d5f2"><div class="ttname"><a href="structst__lp__stats.html#a623d110e6e37cacea919553820d4d5f2">st_lp_stats::efficiency</a></div><div class="ttdeci">float efficiency</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00160">st-instrumentation.h:160</a></div></div>
<div class="ttc" id="structst__pe__stats_html_a92efc1eacb7413debe82ac2501ffe91d"><div class="ttname"><a href="structst__pe__stats.html#a92efc1eacb7413debe82ac2501ffe91d">st_pe_stats::s_nsend_network</a></div><div class="ttdeci">unsigned int s_nsend_network</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00111">st-instrumentation.h:111</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_a8e6727f21f64eab35711d48ef4526955"><div class="ttname"><a href="st-instrumentation_8c.html#a8e6727f21f64eab35711d48ef4526955">g_st_kp_data</a></div><div class="ttdeci">int g_st_kp_data</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00007">st-instrumentation.c:7</a></div></div>
<div class="ttc" id="structst__pe__stats_html_aa3c8a478aeb3ca83b97d2276ff6fc02c"><div class="ttname"><a href="structst__pe__stats.html#aa3c8a478aeb3ca83b97d2276ff6fc02c">st_pe_stats::s_gvt</a></div><div class="ttdeci">float s_gvt</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00123">st-instrumentation.h:123</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a4a237c68db5a0325e986d3710088d427"><div class="ttname"><a href="ross-extern_8h.html#a4a237c68db5a0325e986d3710088d427">g_tw_nkp</a></div><div class="ttdeci">tw_kpid g_tw_nkp</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00025">ross-global.c:25</a></div></div>
<div class="ttc" id="structst__pe__stats_html_ae82c19aea9dd259bdb5308b5a07ce06c"><div class="ttname"><a href="structst__pe__stats.html#ae82c19aea9dd259bdb5308b5a07ce06c">st_pe_stats::s_pq</a></div><div class="ttdeci">float s_pq</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00127">st-instrumentation.h:127</a></div></div>
<div class="ttc" id="structtw__statistics_html_a81aae87c2c31239b501b7461e93effa2"><div class="ttname"><a href="structtw__statistics.html#a81aae87c2c31239b501b7461e93effa2">tw_statistics::s_nevent_processed</a></div><div class="ttdeci">tw_stat s_nevent_processed</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00111">ross-types.h:111</a></div></div>
<div class="ttc" id="structst__pe__stats_html_abaf70bbf6b4498452666b5559987062f"><div class="ttname"><a href="structst__pe__stats.html#abaf70bbf6b4498452666b5559987062f">st_pe_stats::s_fossil_collect</a></div><div class="ttdeci">float s_fossil_collect</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00124">st-instrumentation.h:124</a></div></div>
<div class="ttc" id="structtw__statistics_html_abee413204afa47b508421b50b55cbbc4"><div class="ttname"><a href="structtw__statistics.html#abee413204afa47b508421b50b55cbbc4">tw_statistics::s_event_abort</a></div><div class="ttdeci">tw_clock s_event_abort</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00141">ross-types.h:141</a></div></div>
<div class="ttc" id="structst__pe__stats_html_a5518c4edbc825f41a0cb438c7c482df3"><div class="ttname"><a href="structst__pe__stats.html#a5518c4edbc825f41a0cb438c7c482df3">st_pe_stats::s_fc_attempts</a></div><div class="ttdeci">unsigned int s_fc_attempts</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00109">st-instrumentation.h:109</a></div></div>
<div class="ttc" id="structtw__statistics_html_a94f3a9b746bc08e1bd11a971256bd98a"><div class="ttname"><a href="structtw__statistics.html#a94f3a9b746bc08e1bd11a971256bd98a">tw_statistics::s_rollback</a></div><div class="ttdeci">tw_clock s_rollback</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00144">ross-types.h:144</a></div></div>
<div class="ttc" id="st-sim-engine_8c_html_a9c47719103f6c25564b88c1aae6681a9"><div class="ttname"><a href="st-sim-engine_8c.html#a9c47719103f6c25564b88c1aae6681a9">g_st_current_interval</a></div><div class="ttdeci">long g_st_current_interval</div><div class="ttdef"><b>Definition:</b> <a href="st-sim-engine_8c_source.html#l00005">st-sim-engine.c:5</a></div></div>
<div class="ttc" id="ross_8h_html_a096f73feb08316896d644277b486c9ea"><div class="ttname"><a href="ross_8h.html#a096f73feb08316896d644277b486c9ea">TW_STIME_DBL</a></div><div class="ttdeci">#define TW_STIME_DBL(x)</div><div class="ttdef"><b>Definition:</b> <a href="ross_8h_source.html#l00153">ross.h:153</a></div></div>
<div class="ttc" id="structst__lp__stats_html_ac2526f77549ed35b48025e728b443ed6"><div class="ttname"><a href="structst__lp__stats.html#ac2526f77549ed35b48025e728b443ed6">st_lp_stats::s_nevent_abort</a></div><div class="ttdeci">unsigned int s_nevent_abort</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00156">st-instrumentation.h:156</a></div></div>
<div class="ttc" id="st-sim-engine_8c_html_aebb8dd16b2092d90989648f900bab71c"><div class="ttname"><a href="st-sim-engine_8c.html#aebb8dd16b2092d90989648f900bab71c">st_collect_engine_data_kps</a></div><div class="ttdeci">void st_collect_engine_data_kps(tw_pe *pe, tw_kp *kp, sample_metadata *sample_md, int col_type)</div><div class="ttdef"><b>Definition:</b> <a href="st-sim-engine_8c_source.html#l00102">st-sim-engine.c:102</a></div></div>
<div class="ttc" id="st-sim-engine_8c_html_a6e22e9de45876a91021cd78a36526b4b"><div class="ttname"><a href="st-sim-engine_8c.html#a6e22e9de45876a91021cd78a36526b4b">last_all_reduce_cnt</a></div><div class="ttdeci">static tw_stat last_all_reduce_cnt</div><div class="ttdef"><b>Definition:</b> <a href="st-sim-engine_8c_source.html#l00007">st-sim-engine.c:7</a></div></div>
<div class="ttc" id="structtw__statistics_html_ab569d8a20ab672eeb8ba0198154dd5ff"><div class="ttname"><a href="structtw__statistics.html#ab569d8a20ab672eeb8ba0198154dd5ff">tw_statistics::s_rb_secondary</a></div><div class="ttdeci">tw_stat s_rb_secondary</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00117">ross-types.h:117</a></div></div>
<div class="ttc" id="structtw__kp_html_aabf1253aa1eb55c613a70fb3c9271117"><div class="ttname"><a href="structtw__kp.html#aabf1253aa1eb55c613a70fb3c9271117">tw_kp::last_time</a></div><div class="ttdeci">tw_stime last_time</div><div class="ttdoc">Time of the current event being processed. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00360">ross-types.h:360</a></div></div>
<div class="ttc" id="structtw__statistics_html_a288053705e5e498d021498a1fe6a39e7"><div class="ttname"><a href="structtw__statistics.html#a288053705e5e498d021498a1fe6a39e7">tw_statistics::s_cancel_q</a></div><div class="ttdeci">tw_clock s_cancel_q</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00146">ross-types.h:146</a></div></div>
<div class="ttc" id="structtw__lp_html"><div class="ttname"><a href="structtw__lp.html">tw_lp</a></div><div class="ttdoc">LP State Structure. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00304">ross-types.h:304</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
